package com.evan.framework.core.base;

import java.util.List;

/**
 * @Description: 分页抽象返回对象
 * @Author liudeguang
 */
public abstract class AbstractPagedResponse<T> extends AbstractResponse {

    /**
     * 记录总数
     */
    private Integer total;

    /**
     * 结果数据
     */
    private List<T> datas;

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public List<T> getDatas() {
        return datas;
    }

    public void setDatas(List<T> datas) {
        this.datas = datas;
    }
}
